package com.ticket.sass.admin.dto.input.film;

import com.ticket.sass.admin.dto.input.PageInput;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author ywb
 * @date 2024-03-12 15:50
 */
@Data
@ApiModel
@EqualsAndHashCode(callSuper = true)
public class FilmScheduleListInput extends PageInput {
    @ApiModelProperty(value = "场次编码（专资编码）")
    private String sessionCode;
    
    @ApiModelProperty(value = "影厅编码")
    private List<Integer> hallIds;
    
    @ApiModelProperty(value = "影片ID")
    private List<Integer> filmIds;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "放映时间")
    private LocalDateTime startTime;
    
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @ApiModelProperty(value = "结束时间")
    private LocalDateTime endTime;
}
